home *** CD-ROM | disk | FTP | other *** search
/ Gekkan Dennou Club 145 / Gekkan Dennou Club - 2000.6 Vol. 145 (Japan).7z / Gekkan Dennou Club - 2000.6 Vol. 145 (Japan) (Track 1).bin / tools / sharp / xc2102i.lzh / XC2102.XDF / INCLUDE / SIGNAL.H < prev    next >
Text File  |  1992-03-03  |  619b  |  37 lines

  1. /*
  2.  * signal.h X68k XC Compiler v2.10 Copyright 1990,91,92 SHARP/Hudson
  3.  */
  4. #ifndef    __SIGNAL_H
  5. #define    __SIGNAL_H
  6.  
  7. #ifdef    FORWORD
  8. #define    __PROTO_TYPE
  9. #endif
  10. #ifdef    __STDC__
  11. #define    __PROTO_TYPE
  12. #endif
  13.  
  14. #define    NSIG 1
  15. #define    SIG_DFL    ((void (*)())0)
  16. #define    SIG_IGN    ((void (*)())1)
  17. #define    SIG_ERR    ((void (*)())-1)
  18.  
  19. #define    SIGINT    0xfff1        /* CTRL+C */
  20. #define    SIGABRT    0xfffa        /* abort()*/
  21. #define    SIGTERM    0xfffb        /* exit() */
  22.  
  23. #ifdef    __PROTO_TYPE
  24.  
  25. void    (*signal(int, void (*)(int)))(int);
  26. int    raise(int);
  27.  
  28. #undef    __PROTO_TYPE
  29. #else
  30.  
  31. void    (*signal())();
  32. int    raise();
  33.  
  34. #endif
  35.  
  36. #endif
  37.